WKO\Controllers\Gateways\Gateway B

Total Complexity 97
Dependencies 6
Dependents 0
Total lines 794
Lines of code 477
Logical lines of code 207
Comment lines 153
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
process_payment()
A
37 9 86
get_phones()
A
50 9 29
get_order_status()
S
53 7 27
get_address()
S
51 7 25
get_person()
S
55 7 18
get_order_items()
S
46 5 36
capture_order()
S
49 5 33
get_person_by_session()
S
56 6 17
validate_address_fields()
S
61 4 12
validate_document_field()
S
62 4 11
get_transaction_data()
S
49 2 34
handle_failed_status()
S
59 3 15
get_discounts()
S
61 3 12
get_payer_data()
S
56 2 17
get_customer_ip()
S
67 3 9
get_post_vars()
S
77 3 3
get_server_vars()
S
77 3 3
get_store_data()
S
62 2 12
build_request_body()
S
55 1 20
get_customer()
S
57 1 17
save_post_meta()
S
70 2 6
order_failed()
S
64 1 11
get_payment_method()
S
100 1 0
get_custom_gateway_fields()
S
100 1 0
show_thankyou_page()
S
100 1 0
__construct()
S
81 1 3
abort_payment_process()
S
68 1 7
get_webhook_url()
S
70 1 6
get_shipping_data()
S
66 1 8
get_metas()
S
100 1 0